/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.ufrn.dimap.projetodetalhadodesoftware.chatrmi.controller;

import br.ufrn.dimap.projetodetalhadodesoftware.chatrmi.model.observer.Subject;
import java.rmi.RemoteException;

/**
 *
 * @author Jorge
 */
public interface ChatInterface extends Subject{

    public String getTheme() throws RemoteException;

    public int getNumberClients() throws RemoteException;

    public int getId() throws RemoteException;

    //este metodo envia a mensagem para todos os clientes que estao conectados ao chat
    public void MessageFromClient(String message) throws RemoteException;

    public String getURL() throws RemoteException;

}
